<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<script type="text/javascript">
	function _go() {
		var pc = $("#pageCode").val();//获取文本框中的当前页码
		if(!/^[1-9]\d*$/.test(pc)) {//对当前页码进行整数校验
			alert('请输入正确的页码！');
			return;
		}
		if(pc > ${pb.tp }) {//判断当前页码是否大于最大页
			alert('请输入正确的页码！');
			return;
		}
		location = "${pb.url}&pc=" + pc;
	}
</script>


<div class="divBody">
  <div class="divContent">

	<span class="spanBtnDisabled">上一页</span>
	<a href="#" class="aBtn bold">下一页</a>


   	    <span class="spanBtnSelect">1</span>
   	    <span class="spanBtnSelect">2</span>
   	    <span class="spanBtnSelect">3</span>
   	    <span class="spanBtnSelect">4</span>
   	    <span class="spanBtnSelect">5</span>
   	    <a href="#" class="aBtn">6</a>
   	    <span class="spanBtnSelect">7</span>
   	    <span class="spanBtnSelect">8</span>
   	    <span class="spanBtnSelect">9</span>
   	    <span class="spanBtnSelect">10</span>
    
    <%-- 显示点点点 --%>
      <span class="spanApostrophe">...</span>
     <%--下一页 --%>
	<span class="spanBtnDisabled">下一页</span>
	<a href="${pb.url }&pc=${pb.pc+1}" class="aBtn bold">下一页</a>
        
        
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
    <%-- 共N页 到M页 --%>
    <span>共18页</span>
    <span>到</span>
    <input type="text" class="inputPageCode" id="pageCode" value="6"/>
    <span>页</span>
    <a href="javascript:_go();" class="aSubmit">确定</a>
  </div>
</div>